import { defineStore } from "pinia";
import { ConfigType, PackagesStoreType, PackagesType } from '.'
import { packagesList } from '@/views/drag/package/index'
export const usePackagesStore = defineStore({
  id: 'usePackagesStore',
  state: (): PackagesStoreType => ({
    packagesList: Object.freeze(packagesList),
    newPhoto: undefined
  }),
  getters: {
    getPackagesList(): PackagesType {
      return this.packagesList
    }
  },
})